package com.twu.biblioteca;

import java.util.Iterator;
import java.util.List;

/**
 * Created by thoughtworker on 1/17/14.
 */
public class Library implements Iterable<LibraryBook>{
    private List<LibraryBook> bookList;

    public Library(List<LibraryBook> bookList) {
        this.bookList = bookList;
    }

    @Override
    public Iterator<LibraryBook> iterator() {
        return bookList.listIterator();
    }

    public LibraryBook findBook(String title) {
        return null;
    }
}
